@8wave/ai-elements 0.125.0-beta.29 → 0.125.0-beta.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/dist/_chunks/{Agent-CCBs3D5I.js → Agent-BZiorSrE.js} +160 -119
- package/dist/_chunks/Agent-BZiorSrE.js.map +1 -0
- package/dist/_chunks/{PkFilePreview-DiLMoL-6.js → PkFilePreview-DCk2wnP9.js} +3 -3
- package/dist/_chunks/{PkFilePreview-DiLMoL-6.js.map → PkFilePreview-DCk2wnP9.js.map} +1 -1
- package/dist/_chunks/{PkFilePreviewDialog-CHBtxpoB.js → PkFilePreviewDialog-BFGUstHI.js} +2 -2
- package/dist/_chunks/{PkFilePreviewDialog-CHBtxpoB.js.map → PkFilePreviewDialog-BFGUstHI.js.map} +1 -1
- package/dist/_chunks/{PkSelectionActions-DFyvcEyl.js → PkSelectionActions-DMqJYWem.js} +2 -2
- package/dist/_chunks/{PkSelectionActions-DFyvcEyl.js.map → PkSelectionActions-DMqJYWem.js.map} +1 -1
- package/dist/_chunks/{PkStreamingMarkdown-0hE_Cx4W.js → PkStreamingMarkdown-BqDooeUU.js} +3 -3
- package/dist/_chunks/{PkStreamingMarkdown-0hE_Cx4W.js.map → PkStreamingMarkdown-BqDooeUU.js.map} +1 -1
- package/dist/_chunks/{PkToolChatFile-DtQ9xY4w.js → PkToolChatFile-DpStX3wS.js} +3 -3
- package/dist/_chunks/{PkToolChatFile-DtQ9xY4w.js.map → PkToolChatFile-DpStX3wS.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-CUXB6Lkw.js → PkToolRequestGeolocation-BfwRKTYt.js} +2 -2
- package/dist/_chunks/{PkToolRequestGeolocation-CUXB6Lkw.js.map → PkToolRequestGeolocation-BfwRKTYt.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-CoK7s1HA.js → PkToolRequestOAuthConnection-BeNjHyE9.js} +2 -2
- package/dist/_chunks/{PkToolRequestOAuthConnection-CoK7s1HA.js.map → PkToolRequestOAuthConnection-BeNjHyE9.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-BdkKU6P1.js → PkToolShowArtifact-YPwJLLlW.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-BdkKU6P1.js.map → PkToolShowArtifact-YPwJLLlW.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-BmM2MbOK.js → PkToolShowContactForm-CTc1mbA8.js} +2 -2
- package/dist/_chunks/{PkToolShowContactForm-BmM2MbOK.js.map → PkToolShowContactForm-CTc1mbA8.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-CoFlgA-I.js → PkToolShowForm-DT5EyYVY.js} +4 -4
- package/dist/_chunks/{PkToolShowForm-CoFlgA-I.js.map → PkToolShowForm-DT5EyYVY.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-DefXra8-.js → PkToolShowImageGallery-DKrCrrB5.js} +2 -2
- package/dist/_chunks/{PkToolShowImageGallery-DefXra8-.js.map → PkToolShowImageGallery-DKrCrrB5.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-D6Df6dtq.js → PkToolShowProductList-BQjFsiEo.js} +2 -2
- package/dist/_chunks/{PkToolShowProductList-D6Df6dtq.js.map → PkToolShowProductList-BQjFsiEo.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-DDBlLBt6.js → PkToolShowSources-CzSknPo6.js} +3 -3
- package/dist/_chunks/{PkToolShowSources-DDBlLBt6.js.map → PkToolShowSources-CzSknPo6.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-B-s_ERZF.js → PkToolShowSuggestedReply-C9gtEyCy.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-B-s_ERZF.js.map → PkToolShowSuggestedReply-C9gtEyCy.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-CKpJ1O7O.js → PkToolShowVideo-CxYRfgA5.js} +2 -2
- package/dist/_chunks/{PkToolShowVideo-CKpJ1O7O.js.map → PkToolShowVideo-CxYRfgA5.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-BicbYK0k.js → PkToolShowWebPages-CBkk8sYx.js} +2 -2
- package/dist/_chunks/{PkToolShowWebPages-BicbYK0k.js.map → PkToolShowWebPages-CBkk8sYx.js.map} +1 -1
- package/dist/_chunks/{chatImagePolicy-Df31QSRJ.js → chatImagePolicy-NToILNOC.js} +2 -2
- package/dist/_chunks/{chatImagePolicy-Df31QSRJ.js.map → chatImagePolicy-NToILNOC.js.map} +1 -1
- package/dist/_chunks/{markdown-B_D4YzWu.js → markdown-DqyUj6ze.js} +2 -2
- package/dist/_chunks/{markdown-B_D4YzWu.js.map → markdown-DqyUj6ze.js.map} +1 -1
- package/dist/_chunks/{utils-ChmRkK0t.js → utils-BcIYGNLF.js} +2 -2
- package/dist/_chunks/{utils-ChmRkK0t.js.map → utils-BcIYGNLF.js.map} +1 -1
- package/dist/ai-elements.es.js +30 -25
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotEmptyState.js +1 -1
- package/dist-vue/PkChatbotInput.js +1 -1
- package/dist-vue/PkChatbotMessages.js +1 -1
- package/dist-vue/PkChatbotStepPayload.js +1 -1
- package/dist-vue/PkChatbotStepToolDetail.js +1 -1
- package/dist-vue/PkChatbotSteps.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/PkChatbotViewConversations.js +1 -1
- package/dist-vue/PkChatbotViewFiles.js +1 -1
- package/dist-vue/PkChatbotViewProfile.js +1 -1
- package/dist-vue/_chunks/{Agent-Cm1LrkYm.js → Agent-B55xNURC.js} +168 -127
- package/dist-vue/_chunks/Agent-B55xNURC.js.map +1 -0
- package/dist-vue/_chunks/{Document-D1x1WBr-.js → Document-BzJVMupn.js} +10 -10
- package/dist-vue/_chunks/{Document-D1x1WBr-.js.map → Document-BzJVMupn.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbot-BjJzskl7.js → PkChatbot-DLgPqMWd.js} +8 -8
- package/dist-vue/_chunks/{PkChatbot-BjJzskl7.js.map → PkChatbot-DLgPqMWd.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotEmptyState-CZC2gP3I.js → PkChatbotEmptyState-DMPEj1Qa.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-CZC2gP3I.js.map → PkChatbotEmptyState-DMPEj1Qa.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotInput-BmTdIJZ9.js → PkChatbotInput-TamSYiA7.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotInput-BmTdIJZ9.js.map → PkChatbotInput-TamSYiA7.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-b2lupEv9.js → PkChatbotMessages-bPBOSAv7.js} +17 -17
- package/dist-vue/_chunks/{PkChatbotMessages-b2lupEv9.js.map → PkChatbotMessages-bPBOSAv7.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepPayload-D4w1XlF2.js → PkChatbotStepPayload-DfLVMQrN.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-D4w1XlF2.js.map → PkChatbotStepPayload-DfLVMQrN.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-DFTcjzoX.js → PkChatbotStepToolDetail-mwByeqKJ.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-DFTcjzoX.js.map → PkChatbotStepToolDetail-mwByeqKJ.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-D3zLulMo.js → PkChatbotSteps-pibgqxus.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotSteps-D3zLulMo.js.map → PkChatbotSteps-pibgqxus.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-DawyiUjq.js → PkChatbotViewChat-y60IA9aQ.js} +7 -7
- package/dist-vue/_chunks/{PkChatbotViewChat-DawyiUjq.js.map → PkChatbotViewChat-y60IA9aQ.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewConversations-Bs246dtL.js → PkChatbotViewConversations-BPnPsRhJ.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewConversations-Bs246dtL.js.map → PkChatbotViewConversations-BPnPsRhJ.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-uzZ5H4Fd.js → PkChatbotViewFiles-gYkXw8dc.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-uzZ5H4Fd.js.map → PkChatbotViewFiles-gYkXw8dc.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-BhIvfT_n.js → PkChatbotViewProfile-PnHDQuuK.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-BhIvfT_n.js.map → PkChatbotViewProfile-PnHDQuuK.js.map} +1 -1
- package/dist-vue/_chunks/{PkFilePreview-DfD48QQ_.js → PkFilePreview-CPSYaOV7.js} +3 -3
- package/dist-vue/_chunks/{PkFilePreview-DfD48QQ_.js.map → PkFilePreview-CPSYaOV7.js.map} +1 -1
- package/dist-vue/_chunks/{PkFilePreviewDialog-DFCBpQf3.js → PkFilePreviewDialog-D6zFO_H_.js} +2 -2
- package/dist-vue/_chunks/{PkFilePreviewDialog-DFCBpQf3.js.map → PkFilePreviewDialog-D6zFO_H_.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-ChMbSviw.js → PkStreamingMarkdown-B3VWOaWb.js} +3 -3
- package/dist-vue/_chunks/{PkStreamingMarkdown-ChMbSviw.js.map → PkStreamingMarkdown-B3VWOaWb.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolChatFile-DQtABEaI.js → PkToolChatFile-PXpiJLZ6.js} +3 -3
- package/dist-vue/_chunks/{PkToolChatFile-DQtABEaI.js.map → PkToolChatFile-PXpiJLZ6.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-p7Ip17F7.js → PkToolRequestGeolocation-Bx2Vtb-5.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation-p7Ip17F7.js.map → PkToolRequestGeolocation-Bx2Vtb-5.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CtXSzKzM.js → PkToolRequestOAuthConnection-Dp_dx8cQ.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CtXSzKzM.js.map → PkToolRequestOAuthConnection-Dp_dx8cQ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-w6SxjLPW.js → PkToolShowArtifact-DouCz_dZ.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-w6SxjLPW.js.map → PkToolShowArtifact-DouCz_dZ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-BQ7bBTQU.js → PkToolShowContactForm-BmiNlFfx.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-BQ7bBTQU.js.map → PkToolShowContactForm-BmiNlFfx.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-D-yQgdOL.js → PkToolShowDiagram-D6mYTDU-.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-D-yQgdOL.js.map → PkToolShowDiagram-D6mYTDU-.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-CF00JLpa.js → PkToolShowForm-CksTiimD.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowForm-CF00JLpa.js.map → PkToolShowForm-CksTiimD.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-ZJMWOWHq.js → PkToolShowImageGallery-B-lVY0xH.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-ZJMWOWHq.js.map → PkToolShowImageGallery-B-lVY0xH.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-CeKI9H36.js → PkToolShowProductList-Dcq3Kdse.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-CeKI9H36.js.map → PkToolShowProductList-Dcq3Kdse.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-CXZqanmw.js → PkToolShowSources-DApWmwvk.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowSources-CXZqanmw.js.map → PkToolShowSources-DApWmwvk.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-BRIzGNwx.js → PkToolShowSuggestedReply-CXGpPEl-.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-BRIzGNwx.js.map → PkToolShowSuggestedReply-CXGpPEl-.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-BCs-i6xQ.js → PkToolShowVideo-CjrYh9-q.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-BCs-i6xQ.js.map → PkToolShowVideo-CjrYh9-q.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-Bixa0CjQ.js → PkToolShowWebPages-DSIAizw-.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-Bixa0CjQ.js.map → PkToolShowWebPages-DSIAizw-.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-DO4_I5hT.js → createChatbotApiClient-c3U4TXu2.js} +15 -15
- package/dist-vue/_chunks/{createChatbotApiClient-DO4_I5hT.js.map → createChatbotApiClient-c3U4TXu2.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-BIjCGX0B.js → useChatbotStore-Kk3ioX3v.js} +16 -16
- package/dist-vue/_chunks/{useChatbotStore-BIjCGX0B.js.map → useChatbotStore-Kk3ioX3v.js.map} +1 -1
- package/dist-vue/_chunks/{utils-CaYEz-0A.js → utils-DXOZ6zjh.js} +4 -4
- package/dist-vue/_chunks/{utils-CaYEz-0A.js.map → utils-DXOZ6zjh.js.map} +1 -1
- package/dist-vue/api.js +1 -1
- package/dist-vue/composables.js +10 -8
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +4001 -3879
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +8 -0
- package/dist-vue/packages/components/src/PkEditorRepeater.d.ts +2 -0
- package/dist-vue/packages/components/src/chat/PkAgentSelectionActionsSettings.d.ts +4 -1
- package/dist-vue/packages/components/src/chat/index.d.ts +1 -0
- package/dist-vue/packages/components/src/chat/selectionActionEdits.d.ts +40 -0
- package/dist-vue/packages/models/src/schema/SelectionAction.d.ts +30 -1
- package/package.json +1 -1
- package/dist/_chunks/Agent-CCBs3D5I.js.map +0 -1
- package/dist-vue/_chunks/Agent-Cm1LrkYm.js.map +0 -1
package/README.md
CHANGED
|
@@ -1034,7 +1034,11 @@ stays out, and an excluded element cannot be pointed at.
|
|
|
1034
1034
|
With **Actions on selected text** on (**Site and app**, under **Page access**, off by default, at
|
|
1035
1035
|
any level from **Read** up), selecting a text on the page shows a bar of actions above it, or
|
|
1036
1036
|
below it when there is no room above: **Explain** and **Summarize** (the agent's author picks
|
|
1037
|
-
which),
|
|
1037
|
+
which), the actions the author writes for the agent, up to four actions in all, then **Ask…**,
|
|
1038
|
+
which turns the bar into a field for a question of the user's own. An action of the agent's own
|
|
1039
|
+
has a label and an instruction per language: the bar shows it in the widget's language, or, where
|
|
1040
|
+
the author did not write that one, in the first language its label is written in, and sends the
|
|
1041
|
+
instruction of the same language. The bar
|
|
1038
1042
|
takes the place of the **Ask** bubble of Point and ask, with the chat open and closed, on devices
|
|
1039
1043
|
with a mouse or a trackpad. It never shows on a text in the widget, in an excluded area or
|
|
1040
1044
|
touching a sensitive field, while an answer is running, while the user points, or while your page
|
|
@@ -548,6 +548,10 @@ var We = (e) => {
|
|
|
548
548
|
"proofread",
|
|
549
549
|
"translate",
|
|
550
550
|
"chart"
|
|
551
|
+
], Ke = [
|
|
552
|
+
"page",
|
|
553
|
+
"word",
|
|
554
|
+
"excel"
|
|
551
555
|
], P = {
|
|
552
556
|
page: ["explain", "summarize"],
|
|
553
557
|
word: [
|
|
@@ -561,14 +565,51 @@ var We = (e) => {
|
|
|
561
565
|
"summarize",
|
|
562
566
|
"chart"
|
|
563
567
|
]
|
|
564
|
-
},
|
|
568
|
+
}, qe = (e) => h(i(), i().trim().min(1).max(e));
|
|
569
|
+
function Je(e) {
|
|
570
|
+
let t = (e) => Object.keys(e ?? {}).filter((t) => !!e?.[t]?.trim()), n = t(e.label), r = t(e.prompt);
|
|
571
|
+
return {
|
|
572
|
+
empty: n.length === 0 && r.length === 0,
|
|
573
|
+
label: r.filter((e) => !n.includes(e)),
|
|
574
|
+
prompt: n.filter((e) => !r.includes(e))
|
|
575
|
+
};
|
|
576
|
+
}
|
|
577
|
+
var Ye = n({
|
|
565
578
|
id: i().trim().min(1).max(64),
|
|
566
|
-
label:
|
|
567
|
-
prompt:
|
|
568
|
-
})
|
|
579
|
+
label: qe(40),
|
|
580
|
+
prompt: qe(500)
|
|
581
|
+
});
|
|
582
|
+
function Xe(e, t) {
|
|
583
|
+
for (let n of Ke) {
|
|
584
|
+
let r = e.selectionActions?.[n];
|
|
585
|
+
if (r?.enabled) for (let [e, i] of (r.actions ?? []).entries()) {
|
|
586
|
+
let r = [
|
|
587
|
+
"selectionActions",
|
|
588
|
+
n,
|
|
589
|
+
"actions",
|
|
590
|
+
e
|
|
591
|
+
], a = Je(i);
|
|
592
|
+
a.empty && t.addIssue({
|
|
593
|
+
code: "custom",
|
|
594
|
+
message: "An action needs a label and an instruction",
|
|
595
|
+
path: [...r, "label"]
|
|
596
|
+
});
|
|
597
|
+
for (let e of ["label", "prompt"]) for (let n of a[e]) t.addIssue({
|
|
598
|
+
code: "custom",
|
|
599
|
+
message: `The ${e} is missing in ${n}`,
|
|
600
|
+
path: [
|
|
601
|
+
...r,
|
|
602
|
+
e,
|
|
603
|
+
n
|
|
604
|
+
]
|
|
605
|
+
});
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
var F = (e, t) => n({
|
|
569
610
|
enabled: d().default(t),
|
|
570
611
|
builtIns: c(u(e)).default(() => [...e]),
|
|
571
|
-
actions: c(
|
|
612
|
+
actions: c(Ye).default([])
|
|
572
613
|
}).refine((e) => new Set(e.builtIns).size === e.builtIns.length, {
|
|
573
614
|
message: "A built-in action is listed twice",
|
|
574
615
|
path: ["builtIns"]
|
|
@@ -578,14 +619,14 @@ var We = (e) => {
|
|
|
578
619
|
}).refine((e) => e.builtIns.length + e.actions.length <= 4, {
|
|
579
620
|
message: "At most 4 actions, built-in and the agent's together",
|
|
580
621
|
path: ["actions"]
|
|
581
|
-
}),
|
|
582
|
-
page:
|
|
583
|
-
word:
|
|
584
|
-
excel:
|
|
622
|
+
}), Ze = F(P.page, !1), Qe = F(P.word, !0), $e = F(P.excel, !0), et = n({
|
|
623
|
+
page: Ze.optional().default(() => Ze.parse({})),
|
|
624
|
+
word: Qe.optional().default(() => Qe.parse({})),
|
|
625
|
+
excel: $e.optional().default(() => $e.parse({}))
|
|
585
626
|
}), I = n({
|
|
586
627
|
builtIns: c(u(Ge)),
|
|
587
|
-
actions: c(
|
|
588
|
-
}),
|
|
628
|
+
actions: c(Ye)
|
|
629
|
+
}), tt = n({
|
|
589
630
|
page: I.optional(),
|
|
590
631
|
word: I.optional(),
|
|
591
632
|
excel: I.optional()
|
|
@@ -599,67 +640,67 @@ var z = /* @__PURE__ */ function(e) {
|
|
|
599
640
|
return e.Chat = "chat", e.Reasoning = "reasoning", e;
|
|
600
641
|
}({}), B = /* @__PURE__ */ function(e) {
|
|
601
642
|
return e.Semantic = "semantic", e.Balanced = "balanced", e.Keyword = "keyword", e;
|
|
602
|
-
}({}),
|
|
643
|
+
}({}), nt = [
|
|
603
644
|
"none",
|
|
604
645
|
"low",
|
|
605
646
|
"medium",
|
|
606
647
|
"high",
|
|
607
648
|
"xhigh",
|
|
608
649
|
"max"
|
|
609
|
-
],
|
|
650
|
+
], rt = [
|
|
610
651
|
"low",
|
|
611
652
|
"medium",
|
|
612
653
|
"high",
|
|
613
654
|
"xhigh",
|
|
614
655
|
"max"
|
|
615
|
-
],
|
|
656
|
+
], it = [
|
|
616
657
|
"minimal",
|
|
617
658
|
"low",
|
|
618
659
|
"medium",
|
|
619
660
|
"high"
|
|
620
|
-
],
|
|
661
|
+
], at = [
|
|
621
662
|
"auto",
|
|
622
663
|
"detailed",
|
|
623
664
|
"concise"
|
|
624
|
-
],
|
|
625
|
-
reasoningEffort: u(
|
|
626
|
-
reasoningSummary: u(
|
|
627
|
-
}),
|
|
665
|
+
], ot = n({
|
|
666
|
+
reasoningEffort: u(nt).optional(),
|
|
667
|
+
reasoningSummary: u(at).optional()
|
|
668
|
+
}), st = n({
|
|
628
669
|
type: u([
|
|
629
670
|
"adaptive",
|
|
630
671
|
"enabled",
|
|
631
672
|
"disabled"
|
|
632
673
|
]).optional(),
|
|
633
|
-
effort: u(
|
|
674
|
+
effort: u(rt).optional(),
|
|
634
675
|
display: u(["summarized", "omitted"]).optional(),
|
|
635
676
|
budgetTokens: s().int().positive().optional()
|
|
636
|
-
}),
|
|
637
|
-
thinkingLevel: u(
|
|
677
|
+
}), ct = n({
|
|
678
|
+
thinkingLevel: u(it).optional(),
|
|
638
679
|
thinkingBudget: s().int().optional(),
|
|
639
680
|
includeThoughts: d().optional()
|
|
640
|
-
}),
|
|
681
|
+
}), lt = n({ type: u(["enabled", "disabled"]).optional() }), V = [
|
|
641
682
|
"alibaba",
|
|
642
683
|
"meta",
|
|
643
684
|
"moonshotai",
|
|
644
685
|
"spacexai",
|
|
645
686
|
"xiaomi",
|
|
646
687
|
"zai"
|
|
647
|
-
],
|
|
688
|
+
], ut = [
|
|
648
689
|
"none",
|
|
649
690
|
"minimal",
|
|
650
691
|
"low",
|
|
651
692
|
"medium",
|
|
652
693
|
"high",
|
|
653
694
|
"xhigh"
|
|
654
|
-
], H = n({ reasoningEffort: u(
|
|
695
|
+
], H = n({ reasoningEffort: u(ut).optional() });
|
|
655
696
|
function U(e, t) {
|
|
656
697
|
return e && t.includes(e) ? e : void 0;
|
|
657
698
|
}
|
|
658
|
-
var
|
|
659
|
-
openai:
|
|
660
|
-
anthropic:
|
|
661
|
-
google:
|
|
662
|
-
deepseek:
|
|
699
|
+
var dt = n({
|
|
700
|
+
openai: ot.optional(),
|
|
701
|
+
anthropic: st.optional(),
|
|
702
|
+
google: ct.optional(),
|
|
703
|
+
deepseek: lt.optional(),
|
|
663
704
|
alibaba: H.optional(),
|
|
664
705
|
meta: H.optional(),
|
|
665
706
|
moonshotai: H.optional(),
|
|
@@ -667,7 +708,7 @@ var ct = n({
|
|
|
667
708
|
xiaomi: H.optional(),
|
|
668
709
|
zai: H.optional()
|
|
669
710
|
});
|
|
670
|
-
function
|
|
711
|
+
function ft(e) {
|
|
671
712
|
if (!e || typeof e != "object") return e;
|
|
672
713
|
let t = e, n = [
|
|
673
714
|
"openai",
|
|
@@ -679,19 +720,19 @@ function lt(e) {
|
|
|
679
720
|
if ("effort" in t && !n) {
|
|
680
721
|
let e = t.effort, n = t.reasoningSummary, r = {};
|
|
681
722
|
if (e && e !== "off" && e !== "none") {
|
|
682
|
-
let t = U(e,
|
|
723
|
+
let t = U(e, nt), i = U(n, at);
|
|
683
724
|
(t || i) && (r.openai = {
|
|
684
725
|
...t && { reasoningEffort: t },
|
|
685
726
|
...i && { reasoningSummary: i }
|
|
686
727
|
});
|
|
687
|
-
let a = U(e,
|
|
728
|
+
let a = U(e, rt);
|
|
688
729
|
a && (r.anthropic = {
|
|
689
730
|
type: "adaptive",
|
|
690
731
|
effort: a
|
|
691
732
|
});
|
|
692
|
-
let o = U(e === "xhigh" || e === "max" ? "high" : e,
|
|
733
|
+
let o = U(e === "xhigh" || e === "max" ? "high" : e, it);
|
|
693
734
|
o && (r.google = { thinkingLevel: o }), r.deepseek = { type: "enabled" };
|
|
694
|
-
let s = U(e === "max" ? "xhigh" : e,
|
|
735
|
+
let s = U(e === "max" ? "xhigh" : e, ut);
|
|
695
736
|
if (s) for (let e of V) r[e] = { reasoningEffort: s };
|
|
696
737
|
} else {
|
|
697
738
|
r.openai = { reasoningEffort: "none" }, r.anthropic = { type: "disabled" }, r.google = { thinkingLevel: "minimal" }, r.deepseek = { type: "disabled" };
|
|
@@ -701,13 +742,13 @@ function lt(e) {
|
|
|
701
742
|
}
|
|
702
743
|
return e;
|
|
703
744
|
}
|
|
704
|
-
var
|
|
745
|
+
var pt = g(t(), dt, ft).optional(), W = /* @__PURE__ */ function(e) {
|
|
705
746
|
return e.Geocode = "geocode", e.GetWeather = "getWeather", e.ReadDocumentFile = "readDocumentFile", e.RequestConfirm = "requestConfirm", e.RequestGeolocation = "requestGeolocation", e.RetrieveRevisedAnswers = "retrieveRevisedAnswers", e.SearchInKnowledgeBase = "searchInKnowledgeBase", e.SearchInUserFiles = "searchInUserFiles", e.UserMemory = "userMemory", e.Spreadsheet = "spreadsheet", e.QuerySpreadsheet = "querySpreadsheet", e.WordDocument = "wordDocument", e.CreateSpreadsheet = "createSpreadsheet", e.CreateWordDocument = "createWordDocument", e.RunWorker = "runWorker", e.ScheduleWakeup = "scheduleWakeup", e.ShareDocument = "shareDocument", e.FetchTeamsChannelHistory = "fetchTeamsChannelHistory", e.ShowArtifact = "showArtifact", e.ShowCalendarEvent = "showCalendarEvent", e.ShowComparison = "showComparison", e.ShowContactForm = "showContactForm", e.ShowDiagram = "showDiagram", e.ShowEmail = "showEmail", e.ShowImageGallery = "showImageGallery", e.ShowLocation = "showLocation", e.ShowMessage = "showMessage", e.ShowForm = "showForm", e.ShowProductList = "showProductList", e.ShowQrCode = "showQrCode", e.ShowSources = "showSources", e.ShowSuggestedReply = "showSuggestedReply", e.ShowVideo = "showVideo", e.ShowWeather = "showWeather", e.ShowWebPages = "showWebPages", e.ShowMultipleChoice = "showMultipleChoice", e;
|
|
706
|
-
}({}),
|
|
707
|
-
function
|
|
747
|
+
}({}), mt = "mcp-", ht = "api-", gt = "subagent-";
|
|
748
|
+
function _t(e) {
|
|
708
749
|
return e === W.RequestConfirm || e === W.ShowArtifact || e === W.ShowCalendarEvent || e === W.ShowComparison || e === W.ShowContactForm || e === W.ShowDiagram || e === W.ShowEmail || e === W.ShowImageGallery || e === W.ShowLocation || e === W.ShowMessage || e === W.ShowForm || e === W.ShowMultipleChoice || e === W.ShowProductList || e === W.ShowQrCode || e === W.ShowSources || e === W.ShowSuggestedReply || e === W.ShowVideo || e === W.ShowWeather || e === W.ShowWebPages;
|
|
709
750
|
}
|
|
710
|
-
var
|
|
751
|
+
var vt = /* @__PURE__ */ new Set([
|
|
711
752
|
"editSpreadsheet",
|
|
712
753
|
"editWordDocument",
|
|
713
754
|
W.CreateSpreadsheet,
|
|
@@ -729,20 +770,20 @@ var ht = /* @__PURE__ */ new Set([
|
|
|
729
770
|
W.ShowEmail,
|
|
730
771
|
W.ShowMessage,
|
|
731
772
|
W.ShowForm,
|
|
732
|
-
...
|
|
773
|
+
...vt,
|
|
733
774
|
W.ShareDocument
|
|
734
775
|
];
|
|
735
|
-
var
|
|
776
|
+
var yt = /* @__PURE__ */ new Set([
|
|
736
777
|
W.RequestConfirm,
|
|
737
778
|
W.RequestGeolocation,
|
|
738
779
|
W.ShowForm,
|
|
739
780
|
W.ShowMultipleChoice,
|
|
740
781
|
"requestOAuthConnection"
|
|
741
782
|
]);
|
|
742
|
-
function
|
|
743
|
-
return
|
|
783
|
+
function bt(e) {
|
|
784
|
+
return yt.has(e);
|
|
744
785
|
}
|
|
745
|
-
var
|
|
786
|
+
var xt = /* @__PURE__ */ new Set([
|
|
746
787
|
W.RequestConfirm,
|
|
747
788
|
W.RequestGeolocation,
|
|
748
789
|
W.ShowArtifact,
|
|
@@ -763,22 +804,22 @@ var vt = /* @__PURE__ */ new Set([
|
|
|
763
804
|
W.ShowVideo,
|
|
764
805
|
W.ShowWeather,
|
|
765
806
|
W.ShowWebPages
|
|
766
|
-
]),
|
|
767
|
-
function
|
|
768
|
-
return typeof e == "string" && (e.startsWith("Voice turn note") || e.startsWith(
|
|
807
|
+
]), St = "Shown on the caller's screen";
|
|
808
|
+
function Ct(e) {
|
|
809
|
+
return typeof e == "string" && (e.startsWith("Voice turn note") || e.startsWith(St));
|
|
769
810
|
}
|
|
770
|
-
var
|
|
811
|
+
var wt = n({
|
|
771
812
|
maxSteps: s().int().min(1).max(10).optional().default(5),
|
|
772
813
|
maxOptionsPerStep: s().int().min(2).max(10).optional().default(5)
|
|
773
|
-
}),
|
|
814
|
+
}), Tt = /* @__PURE__ */ function(e) {
|
|
774
815
|
return e.Perplexity = "perplexity", e.Parallel = "parallel", e.Native = "native", e;
|
|
775
|
-
}({}),
|
|
816
|
+
}({}), Et = [
|
|
776
817
|
"perplexity_search",
|
|
777
818
|
"parallel_search",
|
|
778
819
|
"web_search",
|
|
779
820
|
"openai_web_search",
|
|
780
821
|
"google_search"
|
|
781
|
-
],
|
|
822
|
+
], Dt = n({
|
|
782
823
|
maxResults: s().int().min(1).max(20).optional(),
|
|
783
824
|
maxTokens: s().int().positive().max(1e6).optional(),
|
|
784
825
|
maxTokensPerPage: s().int().positive().optional(),
|
|
@@ -791,7 +832,7 @@ var xt = n({
|
|
|
791
832
|
"month",
|
|
792
833
|
"year"
|
|
793
834
|
]).optional()
|
|
794
|
-
}),
|
|
835
|
+
}), Ot = n({
|
|
795
836
|
mode: u(["one-shot", "agentic"]).optional(),
|
|
796
837
|
maxResults: s().int().min(1).max(20).optional(),
|
|
797
838
|
sourcePolicy: n({
|
|
@@ -804,7 +845,7 @@ var xt = n({
|
|
|
804
845
|
maxCharsTotal: s().int().positive().optional()
|
|
805
846
|
}).optional(),
|
|
806
847
|
fetchPolicy: n({ maxAgeSeconds: s().int().positive().optional() }).optional()
|
|
807
|
-
}),
|
|
848
|
+
}), kt = n({
|
|
808
849
|
openai: n({}).optional(),
|
|
809
850
|
anthropic: n({
|
|
810
851
|
maxUses: s().int().positive().optional(),
|
|
@@ -821,11 +862,11 @@ var xt = n({
|
|
|
821
862
|
google: n({}).optional()
|
|
822
863
|
}), G = n({
|
|
823
864
|
enabled: d().default(!1),
|
|
824
|
-
provider: u(
|
|
825
|
-
perplexity:
|
|
826
|
-
parallel:
|
|
827
|
-
native:
|
|
828
|
-
}),
|
|
865
|
+
provider: u(Tt).optional().default(Tt.Native),
|
|
866
|
+
perplexity: Dt.optional(),
|
|
867
|
+
parallel: Ot.optional(),
|
|
868
|
+
native: kt.optional()
|
|
869
|
+
}), At = n({ useAllUserKb: d().default(!1) }), jt = n({ useAllUserFiles: d().default(!1) }), Mt = n({ enabled: d().default(!1) }), K = n({ enabled: d().default(!1) }), Nt = n({ tools: c(i()).default([]) }), Pt = n({
|
|
829
870
|
disabled: c(u(W)).default([
|
|
830
871
|
W.UserMemory,
|
|
831
872
|
W.SearchInUserFiles,
|
|
@@ -833,14 +874,14 @@ var xt = n({
|
|
|
833
874
|
W.FetchTeamsChannelHistory,
|
|
834
875
|
W.ScheduleWakeup
|
|
835
876
|
]),
|
|
836
|
-
showForm:
|
|
877
|
+
showForm: wt.optional().default(() => wt.parse({})),
|
|
837
878
|
webSearch: G.optional().default(() => G.parse({})),
|
|
838
|
-
userMemory:
|
|
839
|
-
userFiles:
|
|
840
|
-
shareDocument:
|
|
879
|
+
userMemory: At.optional().default(() => At.parse({})),
|
|
880
|
+
userFiles: jt.optional().default(() => jt.parse({})),
|
|
881
|
+
shareDocument: Mt.optional().default(() => Mt.parse({})),
|
|
841
882
|
createSpreadsheet: K.optional().default(() => K.parse({})),
|
|
842
883
|
createWordDocument: K.optional().default(() => K.parse({})),
|
|
843
|
-
approval:
|
|
884
|
+
approval: Nt.optional().default(() => Nt.parse({}))
|
|
844
885
|
}), q = n({
|
|
845
886
|
freshness: n({
|
|
846
887
|
enabled: d().default(!1),
|
|
@@ -853,7 +894,7 @@ var xt = n({
|
|
|
853
894
|
diversity: s().min(0).max(1).default(.3),
|
|
854
895
|
candidatesLimit: s().int().min(20).max(100).default(50)
|
|
855
896
|
}).prefault({})
|
|
856
|
-
}).prefault({}),
|
|
897
|
+
}).prefault({}), Ft = n({
|
|
857
898
|
prompt: i().optional(),
|
|
858
899
|
temperature: s().min(0).max(2).optional().default(.6),
|
|
859
900
|
maxOutputTokens: s().positive().optional(),
|
|
@@ -862,9 +903,9 @@ var xt = n({
|
|
|
862
903
|
searchMode: u(B).optional().default(B.Balanced),
|
|
863
904
|
limit: s().positive().max(100).optional().default(10),
|
|
864
905
|
maxStepCount: s().int().min(1).max(40).optional().default(10),
|
|
865
|
-
reasoning:
|
|
906
|
+
reasoning: pt,
|
|
866
907
|
ranking: q.optional().default(() => q.parse({}))
|
|
867
|
-
}), J = g(t(), h(i(), i()), (e) => typeof e == "string" ? { it: e } : e),
|
|
908
|
+
}), J = g(t(), h(i(), i()), (e) => typeof e == "string" ? { it: e } : e), It = "https://cdn.jsdelivr.net/npm/@8wave/ai-elements/dist/ai-elements.es.js", Lt = /* @__PURE__ */ function(e) {
|
|
868
909
|
return e.InlineModule = "inline-module", e.ScriptSrc = "script-src", e.DynamicImport = "dynamic-import", e;
|
|
869
910
|
}({}), Y = /* @__PURE__ */ function(e) {
|
|
870
911
|
return e.Floating = "floating", e.Copilot = "copilot", e;
|
|
@@ -872,8 +913,8 @@ var xt = n({
|
|
|
872
913
|
return e.Solid = "solid", e.Glass = "glass", e;
|
|
873
914
|
}({}), Z = /* @__PURE__ */ function(e) {
|
|
874
915
|
return e.Frontoffice = "frontoffice", e.App = "app", e.Widget = "widget", e;
|
|
875
|
-
}({}),
|
|
876
|
-
function
|
|
916
|
+
}({}), Rt = Object.values(Z), zt = /^(?=.{1,253}$)([a-z0-9-]+\.)*[a-z0-9-]+$/;
|
|
917
|
+
function Bt(e) {
|
|
877
918
|
let t = e.trim().toLowerCase();
|
|
878
919
|
if (!t) return "";
|
|
879
920
|
try {
|
|
@@ -918,15 +959,15 @@ var Q = n({
|
|
|
918
959
|
workingGlow: d().optional().default(!0),
|
|
919
960
|
copilotPageCss: i().optional(),
|
|
920
961
|
maxMessageLength: s().int().positive().optional(),
|
|
921
|
-
widgetUrl: e().default(
|
|
962
|
+
widgetUrl: e().default(It),
|
|
922
963
|
loadDelay: s().int().min(0).max(3e4).optional().default(0),
|
|
923
|
-
loaderStrategy: u(
|
|
964
|
+
loaderStrategy: u(Lt).optional().default(Lt.InlineModule),
|
|
924
965
|
customCss: i().optional(),
|
|
925
966
|
smoothStream: d().optional().default(!1),
|
|
926
967
|
showExtendedSteps: d().optional().default(!1),
|
|
927
968
|
showReasoning: d().optional().default(!0),
|
|
928
|
-
imageHosts: c(i().overwrite(
|
|
929
|
-
}),
|
|
969
|
+
imageHosts: c(i().overwrite(Bt).refine((e) => e === "" || zt.test(e), { message: "Enter a host name, like images.example.com" })).overwrite((e) => [...new Set(e.filter(Boolean))]).default([])
|
|
970
|
+
}), Vt = [
|
|
930
971
|
"image/jpeg",
|
|
931
972
|
"image/png",
|
|
932
973
|
"image/gif",
|
|
@@ -935,19 +976,19 @@ var Q = n({
|
|
|
935
976
|
"text/plain",
|
|
936
977
|
"text/markdown",
|
|
937
978
|
"text/csv"
|
|
938
|
-
],
|
|
979
|
+
], Ht = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", Ut = "application/vnd.openxmlformats-officedocument.wordprocessingml.document", $ = n({
|
|
939
980
|
enabled: d().default(!1),
|
|
940
981
|
maxFileSizeBytes: s().int().positive().max(104857600).optional().default(20971520),
|
|
941
|
-
allowedMimeTypes: c(i().regex(A)).optional().default([...
|
|
982
|
+
allowedMimeTypes: c(i().regex(A)).optional().default([...Vt]),
|
|
942
983
|
maxFilesPerMessage: s().int().positive().max(10).optional().default(5),
|
|
943
984
|
maxFilesPerChat: s().int().positive().max(50).optional().default(20)
|
|
944
|
-
}),
|
|
985
|
+
}), Wt = n({
|
|
945
986
|
zeroDataRetention: d().default(!0),
|
|
946
987
|
disallowPromptTraining: d().default(!0),
|
|
947
988
|
providerTimeoutMs: s().int().min(1e3).max(789e3).optional()
|
|
948
|
-
}),
|
|
989
|
+
}), Gt = n({ enabled: d().default(!1) }), Kt = /* @__PURE__ */ function(e) {
|
|
949
990
|
return e.Off = "off", e.Shadow = "shadow", e.Active = "active", e;
|
|
950
|
-
}({}),
|
|
991
|
+
}({}), qt = n({ mode: u(Kt).default(Kt.Off) }), Jt = n({
|
|
951
992
|
enabled: d().default(!1),
|
|
952
993
|
voiceId: i().optional(),
|
|
953
994
|
language: i().min(2).max(5).default("it"),
|
|
@@ -966,44 +1007,44 @@ var Q = n({
|
|
|
966
1007
|
providerAgentId: i().optional(),
|
|
967
1008
|
providerSecretId: i().optional(),
|
|
968
1009
|
providerApiKeyId: i().optional()
|
|
969
|
-
}),
|
|
1010
|
+
}), Yt = n({ enabled: d() }), Xt = l("automatic");
|
|
970
1011
|
n({
|
|
971
1012
|
chatId: i().min(1).optional(),
|
|
972
1013
|
deviceContext: ue.optional(),
|
|
973
1014
|
externalContext: h(i(), t()).optional(),
|
|
974
1015
|
pageTools: t().optional(),
|
|
975
|
-
confirmations:
|
|
1016
|
+
confirmations: Xt.optional()
|
|
976
1017
|
});
|
|
977
|
-
var
|
|
1018
|
+
var Zt = n({
|
|
978
1019
|
sessionId: i(),
|
|
979
1020
|
signedUrl: i(),
|
|
980
1021
|
providerAgentId: i(),
|
|
981
1022
|
chatId: i(),
|
|
982
1023
|
maxSessionSeconds: s().int()
|
|
983
|
-
}),
|
|
1024
|
+
}), Qt = n({
|
|
984
1025
|
voiceId: i(),
|
|
985
1026
|
name: i(),
|
|
986
1027
|
category: i().optional(),
|
|
987
1028
|
previewUrl: i().optional(),
|
|
988
1029
|
labels: h(i(), i()).optional()
|
|
989
1030
|
});
|
|
990
|
-
c(
|
|
991
|
-
var
|
|
992
|
-
model:
|
|
1031
|
+
c(Qt);
|
|
1032
|
+
var $t = n({ allowAutomatic: d().default(!1) }), en = n({ allowAutomatic: l(!0) }), tn = n({
|
|
1033
|
+
model: Ft,
|
|
993
1034
|
interface: Q,
|
|
994
|
-
tools:
|
|
1035
|
+
tools: Pt.optional().default(() => Pt.parse({})),
|
|
995
1036
|
fileUpload: $.optional().default(() => $.parse({})),
|
|
996
|
-
gatewayOptions:
|
|
997
|
-
channels: c(u(Z)).optional().default(() => [...
|
|
1037
|
+
gatewayOptions: Wt.optional().default(() => Wt.parse({})),
|
|
1038
|
+
channels: c(u(Z)).optional().default(() => [...Rt]),
|
|
998
1039
|
externalContextSchema: re.optional(),
|
|
999
|
-
openaiApi:
|
|
1000
|
-
voice:
|
|
1001
|
-
toolWorkingSet:
|
|
1040
|
+
openaiApi: Gt.optional().default(() => Gt.parse({})),
|
|
1041
|
+
voice: Jt.optional().default(() => Jt.parse({})),
|
|
1042
|
+
toolWorkingSet: qt.optional().default(() => qt.parse({})),
|
|
1002
1043
|
hostTools: me.optional(),
|
|
1003
1044
|
pageAccess: Se.optional(),
|
|
1004
|
-
confirmations:
|
|
1005
|
-
selectionActions:
|
|
1006
|
-
}),
|
|
1045
|
+
confirmations: $t.optional(),
|
|
1046
|
+
selectionActions: et.optional()
|
|
1047
|
+
}), nn = n({
|
|
1007
1048
|
rateLimits: n({
|
|
1008
1049
|
minuteRateLimit: s().int().min(0).optional(),
|
|
1009
1050
|
hourRateLimit: s().int().min(0).optional(),
|
|
@@ -1020,8 +1061,8 @@ n({
|
|
|
1020
1061
|
fallbackModels: c(i()).default([]),
|
|
1021
1062
|
status: u(L).default(L.Draft),
|
|
1022
1063
|
visibility: u(R).default(R.Organization),
|
|
1023
|
-
settings:
|
|
1024
|
-
security:
|
|
1064
|
+
settings: tn.superRefine(Xe),
|
|
1065
|
+
security: nn.nullish(),
|
|
1025
1066
|
type: u(z).default(z.Chat),
|
|
1026
1067
|
organizationId: i()
|
|
1027
1068
|
}), o(() => n({
|
|
@@ -1032,8 +1073,8 @@ n({
|
|
|
1032
1073
|
fallbackModels: c(i()).nullable().default([]),
|
|
1033
1074
|
status: u(L).default(L.Draft),
|
|
1034
1075
|
visibility: u(R).default(R.Organization),
|
|
1035
|
-
settings:
|
|
1036
|
-
security:
|
|
1076
|
+
settings: tn,
|
|
1077
|
+
security: nn.nullable(),
|
|
1037
1078
|
type: u(z).default(z.Chat),
|
|
1038
1079
|
organizationId: i(),
|
|
1039
1080
|
createdAt: f(),
|
|
@@ -1046,7 +1087,7 @@ n({
|
|
|
1046
1087
|
outOfBudget: d().optional().default(!1),
|
|
1047
1088
|
outOfBudgetReason: i().optional().default("")
|
|
1048
1089
|
}));
|
|
1049
|
-
var
|
|
1090
|
+
var rn = n({
|
|
1050
1091
|
id: i(),
|
|
1051
1092
|
name: i(),
|
|
1052
1093
|
status: u(L),
|
|
@@ -1057,14 +1098,14 @@ var en = n({
|
|
|
1057
1098
|
updatedAt: f(),
|
|
1058
1099
|
capabilities: n({
|
|
1059
1100
|
fileUpload: $,
|
|
1060
|
-
voice:
|
|
1101
|
+
voice: Yt,
|
|
1061
1102
|
hostTools: he.optional(),
|
|
1062
1103
|
pageAccess: we.optional(),
|
|
1063
|
-
confirmations:
|
|
1064
|
-
selectionActions:
|
|
1104
|
+
confirmations: en.optional(),
|
|
1105
|
+
selectionActions: tt.optional()
|
|
1065
1106
|
}),
|
|
1066
|
-
channels: c(u(Z)).default(() => [...
|
|
1067
|
-
}),
|
|
1107
|
+
channels: c(u(Z)).default(() => [...Rt])
|
|
1108
|
+
}), an = Q.pick({
|
|
1068
1109
|
logo: !0,
|
|
1069
1110
|
mainColor: !0,
|
|
1070
1111
|
textColor: !0,
|
|
@@ -1075,41 +1116,41 @@ var en = n({
|
|
|
1075
1116
|
hideFloatingButton: !0,
|
|
1076
1117
|
copilotPageCss: !0,
|
|
1077
1118
|
customCss: !0
|
|
1078
|
-
}),
|
|
1119
|
+
}), on = rn.pick({
|
|
1079
1120
|
id: !0,
|
|
1080
1121
|
name: !0,
|
|
1081
1122
|
organizationId: !0
|
|
1082
|
-
}).extend({ interface:
|
|
1123
|
+
}).extend({ interface: an }), sn = n({
|
|
1083
1124
|
emailPassword: d(),
|
|
1084
1125
|
google: d(),
|
|
1085
1126
|
microsoft: d()
|
|
1086
|
-
}),
|
|
1127
|
+
}), cn = n({
|
|
1087
1128
|
requiresAuth: l(!1),
|
|
1088
|
-
agent:
|
|
1129
|
+
agent: rn,
|
|
1089
1130
|
branding: r()
|
|
1090
|
-
}),
|
|
1131
|
+
}), ln = n({
|
|
1091
1132
|
requiresAuth: l(!0),
|
|
1092
1133
|
agent: r(),
|
|
1093
|
-
branding:
|
|
1134
|
+
branding: on
|
|
1094
1135
|
});
|
|
1095
|
-
p("requiresAuth", [
|
|
1096
|
-
var
|
|
1136
|
+
p("requiresAuth", [cn, ln]);
|
|
1137
|
+
var un = n({
|
|
1097
1138
|
frontendUrl: i().optional(),
|
|
1098
1139
|
telemetry: n({
|
|
1099
1140
|
environment: i(),
|
|
1100
1141
|
samplingRate: s().min(0).max(1)
|
|
1101
1142
|
}).nullable()
|
|
1102
|
-
}),
|
|
1103
|
-
authMethods:
|
|
1143
|
+
}), dn = n({
|
|
1144
|
+
authMethods: sn,
|
|
1104
1145
|
deploymentBranding: ce.nullish(),
|
|
1105
|
-
deployment:
|
|
1146
|
+
deployment: un.optional()
|
|
1106
1147
|
});
|
|
1107
|
-
p("requiresAuth", [
|
|
1148
|
+
p("requiresAuth", [cn.extend(dn.shape), ln.extend(dn.shape)]), n({
|
|
1108
1149
|
id: m(),
|
|
1109
1150
|
limited: d(),
|
|
1110
1151
|
agentIds: c(m())
|
|
1111
1152
|
});
|
|
1112
|
-
var
|
|
1153
|
+
var fn = n({
|
|
1113
1154
|
userId: m(),
|
|
1114
1155
|
name: i(),
|
|
1115
1156
|
email: i(),
|
|
@@ -1120,7 +1161,7 @@ var ln = n({
|
|
|
1120
1161
|
});
|
|
1121
1162
|
n({
|
|
1122
1163
|
id: m(),
|
|
1123
|
-
members: c(
|
|
1164
|
+
members: c(fn)
|
|
1124
1165
|
}), n({
|
|
1125
1166
|
id: m(),
|
|
1126
1167
|
userIds: c(m())
|
|
@@ -1142,6 +1183,6 @@ n({
|
|
|
1142
1183
|
..._.fullText(),
|
|
1143
1184
|
..._.ids()
|
|
1144
1185
|
});
|
|
1145
|
-
export { k as A, _ as B,
|
|
1186
|
+
export { k as A, _ as B, Bt as C, Ae as D, je as E, de as F, _e as I, ge as L, xe as M, be as N, ke as O, ve as P, ue as R, Ct as S, Ie as T, Zt as _, pt as a, _t as b, X as c, Xt as d, mt as f, xt as g, yt as h, q as i, Ce as j, Te as k, Y as l, gt as m, W as n, B as o, Ht as p, Wt as r, G as s, ht as t, vt as u, Et as v, A as w, bt as x, Ut as y, g as z };
|
|
1146
1187
|
|
|
1147
|
-
//# sourceMappingURL=Agent-
|
|
1188
|
+
//# sourceMappingURL=Agent-BZiorSrE.js.map
|